#!/usr/bin/env python

import os

from setuptools import find_packages, setup

# Prepare long description using existing docs
long_description = ""
this_dir = os.path.abspath(os.path.dirname(__file__))
doc_files = ["README.md"]
for doc in doc_files:
    with open(os.path.join(this_dir, doc), "r") as f:
        long_description = "\n".join([long_description, f.read()])

setup(
    name="tcp_comm",
    version="0.1.0",
    description="TCP communication for rl",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/wawachen/tx_agent",
    author="wawachen",
    author_email="",
    packages=find_packages("src"),
    package_dir={"": "src"},
    python_requires=">=3.8",
    install_requires=["orjson"],
    keywords="TCP Communication",
    project_urls={
        "Source": "https://github.com/wawachen/tx_agent",
        "Report bug": "https://github.com/wawachen/tx_agent/issues",
        "Author website": "https://github.com/wawachen",
    },
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
    ],
)
